package com.enjoy.studyfragment.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/3/2.
 */

public class ContactSelectBean {


    /**
     * classInfo : {"class_id":4,"class_name":"初三（3）班"}
     * patriarchs : [{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/wKapdQYamx.jpg","id":1,"list":[],"patriarch_id":14,"user_name":"家长1"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":3,"list":[],"patriarch_id":79,"user_name":"小明同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":4,"list":[],"patriarch_id":80,"user_name":"小赵同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":5,"list":[],"patriarch_id":81,"user_name":"小钱同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":6,"list":[],"patriarch_id":82,"user_name":"小孙同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":7,"list":[],"patriarch_id":83,"user_name":"小李同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":8,"list":[],"patriarch_id":84,"user_name":"小周同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":9,"list":[],"patriarch_id":85,"user_name":"小吴同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":10,"list":[],"patriarch_id":86,"user_name":"小郑同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":11,"list":[],"patriarch_id":87,"user_name":"小王同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":12,"list":[],"patriarch_id":88,"user_name":"小余同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":13,"list":[],"patriarch_id":89,"user_name":"小刘同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":14,"list":[],"patriarch_id":90,"user_name":"小杨同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":15,"list":[],"patriarch_id":91,"user_name":"小雷同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":16,"list":[],"patriarch_id":92,"user_name":"小严同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":17,"list":[],"patriarch_id":93,"user_name":"小黄同学"},{"class_id":4,"head_url":"https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/J26NfRE5z6.jpg","id":18,"list":[],"patriarch_id":94,"user_name":"小钟同学"}]
     */

    private ClassInfoBean classInfo;
    private List<PatriarchsBean> patriarchs;

    public ClassInfoBean getClassInfo() {
        return classInfo;
    }

    public void setClassInfo(ClassInfoBean classInfo) {
        this.classInfo = classInfo;
    }

    public List<PatriarchsBean> getPatriarchs() {
        return patriarchs;
    }

    public void setPatriarchs(List<PatriarchsBean> patriarchs) {
        this.patriarchs = patriarchs;
    }

    public static class ClassInfoBean {
        /**
         * class_id : 4
         * class_name : 初三（3）班
         */

        private int class_id;
        private String class_name;
        private boolean isSelect;

        public int getClass_id() {
            return class_id;
        }

        public void setClass_id(int class_id) {
            this.class_id = class_id;
        }

        public String getClass_name() {
            return class_name;
        }

        public void setClass_name(String class_name) {
            this.class_name = class_name;
        }

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }
        public void toggle() {
            this.isSelect = !this.isSelect;
        }
    }

    public static class PatriarchsBean {
        /**
         * class_id : 4
         * head_url : https://xxyschool.oss-cn-shenzhen.aliyuncs.com/img/wKapdQYamx.jpg
         * id : 1
         * list : []
         * patriarch_id : 14
         * user_name : 家长1
         */

        private int class_id;
        private String head_url;
        private int id;
        private int patriarch_id;
        private String user_name;
        private List<?> list;
        private boolean isSelect;

        public int getClass_id() {
            return class_id;
        }

        public void setClass_id(int class_id) {
            this.class_id = class_id;
        }

        public String getHead_url() {
            return head_url;
        }

        public void setHead_url(String head_url) {
            this.head_url = head_url;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getPatriarch_id() {
            return patriarch_id;
        }

        public void setPatriarch_id(int patriarch_id) {
            this.patriarch_id = patriarch_id;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }

        public List<?> getList() {
            return list;
        }

        public void setList(List<?> list) {
            this.list = list;
        }
        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }
        public void toggle() {
            this.isSelect = !this.isSelect;
        }
    }
}
